package BC122_小乐乐算平均分;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double sum = 0;
        for (int i = 0; i < 3; i++){
            sum += sc.nextDouble();
        }
        System.out.printf("%.2f, %.2f", sum, sum / 3.0);
    }
}
